# -*- coding: utf-8 -*-
"""
@Time ： 2023/9/15 12:04
@Auth ： y.h
@File ：sys_util.py
@IDE ：PyCharm
@Motto：The sooner you start to code, the longer the program will take. —— Roy Carlson
"""
import tkinter
import tkinter.messagebox as msg


def dialog_message(info: str):
    root = tkinter.Tk()
    root.withdraw()
    flag = msg.askquestion("提示", info)
    return flag == "yes"
